package org.mine.design.bridge.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.mine.design.bridge.service.PayFeeService;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class TikTokPayFeeServiceImpl implements PayFeeService {
    @Override
    public String platformName() {
        return "抖音";
    }

    @Override
    public int calc(int commodityPrices) {
        if(commodityPrices > 10){
            return commodityPrices / 3;
        }
        return 0;
    }
}